home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—Toolbox Essentials / IM—Toolbox Essentials.rsrc / GRF#_1000 < prev    next >
Unknown  |  1994-04-27  |  10.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 c3 4b 46 69 67 75 72 | 65 20 31 2d 31 09 54 68 |..KFigur|e 1-1.Th|
|00000010| 65 20 53 75 72 66 57 72 | 69 74 65 72 20 61 70 70 |e SurfWr|iter app|
|00000020| 6c 69 63 61 74 69 6f 6e | 20 77 69 74 68 20 6d 75 |lication| with mu|
|00000030| 6c 74 69 70 6c 65 20 77 | 69 6e 64 6f 77 73 20 6f |ltiple w|indows o|
|00000040| 6e 20 74 68 65 20 64 65 | 73 6b 74 6f 70 20 1b 46 |n the de|sktop .F|
|00000050| 69 67 75 72 65 20 31 2d | 32 09 41 20 74 79 70 69 |igure 1-|2.A typi|
|00000060| 63 61 6c 20 77 69 6e 64 | 6f 77 1a 46 69 67 75 72 |cal wind|ow.Figur|
|00000070| 65 20 31 2d 33 09 43 6f | 6d 6d 6f 6e 20 63 6f 6e |e 1-3.Co|mmon con|
|00000080| 74 72 6f 6c 73 17 46 69 | 67 75 72 65 20 31 2d 34 |trols.Fi|gure 1-4|
|00000090| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 3a 46 69 |.An aler|t box:Fi|
|000000a0| 67 75 72 65 20 31 2d 35 | 09 4d 6f 64 61 6c 2c 20 |gure 1-5|.Modal, |
|000000b0| 6d 6f 76 61 62 6c 65 20 | 6d 6f 64 61 6c 2c 20 61 |movable |modal, a|
|000000c0| 6e 64 20 6d 6f 64 65 6c | 65 73 73 20 64 69 61 6c |nd model|ess dial|
|000000d0| 6f 67 20 62 6f 78 65 73 | 35 46 69 67 75 72 65 20 |og boxes|5Figure |
|000000e0| 32 2d 31 09 53 6f 75 72 | 63 65 73 20 6f 66 20 65 |2-1.Sour|ces of e|
|000000f0| 76 65 6e 74 73 20 73 65 | 6e 74 20 74 6f 20 79 6f |vents se|nt to yo|
|00000100| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 1b 46 |ur appli|cation.F|
|00000110| 69 67 75 72 65 20 32 2d | 32 09 4c 6f 77 2d 6c 65 |igure 2-|2.Low-le|
|00000120| 76 65 6c 20 65 76 65 6e | 74 73 23 46 69 67 75 72 |vel even|ts#Figur|
|00000130| 65 20 32 2d 33 09 4f 70 | 65 72 61 74 69 6e 67 2d |e 2-3.Op|erating-|
|00000140| 73 79 73 74 65 6d 20 65 | 76 65 6e 74 73 20 1c 46 |system e|vents .F|
|00000150| 69 67 75 72 65 20 32 2d | 34 09 48 69 67 68 2d 6c |igure 2-|4.High-l|
|00000160| 65 76 65 6c 20 65 76 65 | 6e 74 73 33 46 69 67 75 |evel eve|nts3Figu|
|00000170| 72 65 20 32 2d 35 09 54 | 68 65 20 6d 6f 64 69 66 |re 2-5.T|he modif|
|00000180| 69 65 72 73 20 66 69 65 | 6c 64 20 6f 66 20 74 68 |iers fie|ld of th|
|00000190| 65 20 65 76 65 6e 74 20 | 72 65 63 6f 72 64 20 19 |e event |record .|
|000001a0| 46 69 67 75 72 65 20 32 | 2d 36 09 54 68 65 20 65 |Figure 2|-6.The e|
|000001b0| 76 65 6e 74 20 6d 61 73 | 6b 44 46 69 67 75 72 65 |vent mas|kDFigure|
|000001c0| 20 32 2d 37 09 54 68 65 | 20 6d 65 73 73 61 67 65 | 2-7.The| message|
|000001d0| 20 66 69 65 6c 64 20 6f | 66 20 74 68 65 20 65 76 | field o|f the ev|
|000001e0| 65 6e 74 20 72 65 63 6f | 72 64 20 66 6f 72 20 6b |ent reco|rd for k|
|000001f0| 65 79 62 6f 61 72 64 20 | 65 76 65 6e 74 73 1f 46 |eyboard |events.F|
|00000200| 69 67 75 72 65 20 32 2d | 38 09 4b 65 79 62 6f 61 |igure 2-|8.Keyboa|
|00000210| 72 64 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 43 46 |rd trans|lationCF|
|00000220| 69 67 75 72 65 20 32 2d | 39 09 56 69 72 74 75 61 |igure 2-|9.Virtua|
|00000230| 6c 20 6b 65 79 20 63 6f | 64 65 73 20 66 6f 72 20 |l key co|des for |
|00000240| 74 68 65 20 41 70 70 6c | 65 20 4b 65 79 62 6f 61 |the Appl|e Keyboa|
|00000250| 72 64 20 49 49 2c 20 49 | 53 4f 20 6c 61 79 6f 75 |rd II, I|SO layou|
|00000260| 74 20 42 46 69 67 75 72 | 65 20 32 2d 31 30 09 56 |t BFigur|e 2-10.V|
|00000270| 69 72 74 75 61 6c 20 6b | 65 79 20 63 6f 64 65 73 |irtual k|ey codes|
|00000280| 20 66 6f 72 20 74 68 65 | 20 41 70 70 6c 65 20 45 | for the| Apple E|
|00000290| 78 74 65 6e 64 65 64 20 | 4b 65 79 62 6f 61 72 64 |xtended |Keyboard|
|000002a0| 20 49 49 20 20 36 46 69 | 67 75 72 65 20 32 2d 31 | II 6Fi|gure 2-1|
|000002b0| 31 09 52 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |1.Respon|ding to |
|000002c0| 61 6e 20 75 70 64 61 74 | 65 20 65 76 65 6e 74 20 |an updat|e event |
|000002d0| 66 6f 72 20 61 20 77 69 | 6e 64 6f 77 36 46 69 67 |for a wi|ndow6Fig|
|000002e0| 75 72 65 20 32 2d 31 32 | 09 52 65 73 70 6f 6e 64 |ure 2-12|.Respond|
|000002f0| 69 6e 67 20 74 6f 20 61 | 63 74 69 76 61 74 65 20 |ing to a|ctivate |
|00000300| 65 76 65 6e 74 73 20 66 | 6f 72 20 61 20 77 69 6e |events f|or a win|
|00000310| 64 6f 77 25 46 69 67 75 | 72 65 20 32 2d 31 33 09 |dow%Figu|re 2-13.|
|00000320| 54 68 65 20 73 74 61 6e | 64 61 72 64 20 61 72 72 |The stan|dard arr|
|00000330| 6f 77 20 63 75 72 73 6f | 72 45 46 69 67 75 72 65 |ow curso|rEFigure|
|00000340| 20 32 2d 31 34 09 54 68 | 65 20 49 2d 62 65 61 6d | 2-14.Th|e I-beam|
|00000350| 2c 20 63 72 6f 73 73 68 | 61 69 72 73 2c 20 70 6c |, crossh|airs, pl|
|00000360| 75 73 20 73 69 67 6e 2c | 20 61 6e 64 20 77 72 69 |us sign,| and wri|
|00000370| 73 74 77 61 74 63 68 20 | 63 75 72 73 6f 72 73 32 |stwatch |cursors2|
|00000380| 46 69 67 75 72 65 20 32 | 2d 31 35 09 54 68 65 20 |Figure 2|-15.The |
|00000390| 61 72 72 6f 77 20 72 65 | 67 69 6f 6e 20 61 6e 64 |arrow re|gion and|
|000003a0| 20 74 68 65 20 49 2d 62 | 65 61 6d 20 72 65 67 69 | the I-b|eam regi|
|000003b0| 6f 6e 4a 46 69 67 75 72 | 65 20 32 2d 31 36 09 43 |onJFigur|e 2-16.C|
|000003c0| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 63 75 72 73 |hanging |the curs|
|000003d0| 6f 72 20 66 72 6f 6d 20 | 74 68 65 20 49 2d 62 65 |or from |the I-be|
|000003e0| 61 6d 20 63 75 72 73 6f | 72 20 74 6f 20 74 68 65 |am curso|r to the|
|000003f0| 20 61 72 72 6f 77 20 63 | 75 72 73 6f 72 39 46 69 | arrow c|ursor9Fi|
|00000400| 67 75 72 65 20 32 2d 31 | 37 09 53 74 72 75 63 74 |gure 2-1|7.Struct|
|00000410| 75 72 65 20 6f 66 20 74 | 68 65 20 4b 65 79 54 72 |ure of t|he KeyTr|
|00000420| 61 6e 73 6c 61 74 65 20 | 66 75 6e 63 74 69 6f 6e |anslate |function|
|00000430| 20 72 65 73 75 6c 74 39 | 46 69 67 75 72 65 20 33 | result9|Figure 3|
|00000440| 2d 31 09 41 20 70 75 6c | 6c 2d 64 6f 77 6e 20 6d |-1.A pul|l-down m|
|00000450| 65 6e 75 2c 20 61 20 73 | 75 62 6d 65 6e 75 2c 20 |enu, a s|ubmenu, |
|00000460| 61 6e 64 20 61 20 70 6f | 70 2d 75 70 20 6d 65 6e |and a po|p-up men|
|00000470| 75 4d 46 69 67 75 72 65 | 20 33 2d 32 09 54 68 65 |uMFigure| 3-2.The|
|00000480| 20 53 75 72 66 57 72 69 | 74 65 72 20 61 70 70 6c | SurfWri|ter appl|
|00000490| 69 63 61 74 69 6f 6e d5 | 73 20 6d 65 6e 75 20 62 |ication.|s menu b|
|000004a0| 61 72 20 77 69 74 68 20 | 74 68 65 20 45 64 69 74 |ar with |the Edit|
|000004b0| 20 6d 65 6e 75 20 64 69 | 73 70 6c 61 79 65 64 35 | menu di|splayed5|
|000004c0| 46 69 67 75 72 65 20 33 | 2d 33 09 54 68 65 20 6d |Figure 3|-3.The m|
|000004d0| 65 6e 75 20 62 61 72 20 | 6f 66 20 74 68 65 20 53 |enu bar |of the S|
|000004e0| 75 72 66 57 72 69 74 65 | 72 20 61 70 70 6c 69 63 |urfWrite|r applic|
|000004f0| 61 74 69 6f 6e 55 46 69 | 67 75 72 65 20 33 2d 34 |ationUFi|gure 3-4|
|00000500| 09 54 68 65 20 53 75 72 | 66 57 72 69 74 65 72 20 |.The Sur|fWriter |
|00000510| 61 70 70 6c 69 63 61 74 | 69 6f 6e d5 73 20 6d 65 |applicat|ion.s me|
|00000520| 6e 75 20 62 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |nu bar l|ocalized|
|00000530| 20 66 6f 72 20 61 6e 6f | 74 68 65 72 20 73 63 72 | for ano|ther scr|
|00000540| 69 70 74 20 73 79 73 74 | 65 6d 20 31 46 69 67 75 |ipt syst|em 1Figu|
|00000550| 72 65 20 33 2d 35 09 54 | 77 6f 20 6d 65 6e 75 73 |re 3-5.T|wo menus|
|00000560| 20 77 69 74 68 20 76 61 | 72 69 6f 75 73 20 63 68 | with va|rious ch|
|00000570| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 33 46 69 |aracteri|stics3Fi|
|00000580| 67 75 72 65 20 33 2d 36 | 09 4d 65 6e 75 20 69 74 |gure 3-6|.Menu it|
|00000590| 65 6d 73 20 69 6e 20 61 | 20 6d 75 74 75 61 6c 6c |ems in a| mutuall|
|000005a0| 79 20 65 78 63 6c 75 73 | 69 76 65 20 67 72 6f 75 |y exclus|ive grou|
|000005b0| 70 2e 46 69 67 75 72 65 | 20 33 2d 37 09 4d 65 6e |p.Figure| 3-7.Men|
|000005c0| 75 20 69 74 65 6d 73 20 | 69 6e 20 61 6e 20 61 63 |u items |in an ac|
|000005d0| 63 75 6d 75 6c 61 74 69 | 6e 67 20 67 72 6f 75 70 |cumulati|ng group|
|000005e0| 3f 46 69 67 75 72 65 20 | 33 2d 38 09 55 73 65 20 |?Figure |3-8.Use |
|000005f0| 6f 66 20 61 20 63 68 65 | 63 6b 6d 61 72 6b 20 61 |of a che|ckmark a|
|00000600| 6e 64 20 64 61 73 68 20 | 69 6e 20 61 6e 20 61 63 |nd dash |in an ac|
|00000610| 63 75 6d 75 6c 61 74 69 | 6e 67 20 67 72 6f 75 70 |cumulati|ng group|
|00000620| 38 46 69 67 75 72 65 20 | 33 2d 39 09 54 68 65 20 |8Figure |3-9.The |
|00000630| 41 70 70 6c 65 20 6d 65 | 6e 75 20 66 6f 72 20 74 |Apple me|nu for t|
|00000640| 68 65 20 53 75 72 66 57 | 72 69 74 65 72 20 61 70 |he SurfW|riter ap|
|00000650| 70 6c 69 63 61 74 69 6f | 6e 45 46 69 67 75 72 65 |plicatio|nEFigure|
|00000660| 20 33 2d 31 30 09 43 68 | 6f 6f 73 69 6e 67 20 74 | 3-10.Ch|oosing t|
|00000670| 68 65 20 41 62 6f 75 74 | 20 63 6f 6d 6d 61 6e 64 |he About| command|
|00000680| 20 6f 66 20 74 68 65 20 | 53 75 72 66 57 72 69 74 | of the |SurfWrit|
|00000690| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 35 |er appli|cation 5|
|000006a0| 46 69 67 75 72 65 20 33 | 2d 31 31 09 54 68 65 20 |Figure 3|-11.The |
|000006b0| 73 74 61 6e 64 61 72 64 | 20 46 69 6c 65 20 6d 65 |standard| File me|
|000006c0| 6e 75 20 66 6f 72 20 61 | 6e 20 61 70 70 6c 69 63 |nu for a|n applic|
|000006d0| 61 74 69 6f 6e 35 46 69 | 67 75 72 65 20 33 2d 31 |ation5Fi|gure 3-1|
|000006e0| 32 09 54 68 65 20 73 74 | 61 6e 64 61 72 64 20 45 |2.The st|andard E|
|000006f0| 64 69 74 20 6d 65 6e 75 | 20 66 6f 72 20 61 6e 20 |dit menu| for an |
|00000700| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 46 69 67 75 |applicat|ion Figu|
|00000710| 72 65 20 33 2d 31 33 09 | 41 20 74 79 70 69 63 61 |re 3-13.|A typica|
|00000720| 6c 20 46 6f 6e 74 20 6d | 65 6e 75 20 49 46 69 67 |l Font m|enu IFig|
|00000730| 75 72 65 20 33 2d 31 34 | 09 41 20 46 6f 6e 74 20 |ure 3-14|.A Font |
|00000740| 6d 65 6e 75 20 73 68 6f | 77 69 6e 67 20 61 20 73 |menu sho|wing a s|
|00000750| 65 6c 65 63 74 69 6f 6e | 20 63 6f 6e 74 61 69 6e |election| contain|
|00000760| 69 6e 67 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e |ing more| than on|
|00000770| 65 20 66 6f 6e 74 1f 46 | 69 67 75 72 65 20 33 2d |e font.F|igure 3-|
|00000780| 31 35 09 41 20 74 79 70 | 69 63 61 6c 20 53 69 7a |15.A typ|ical Siz|
|00000790| 65 20 6d 65 6e 75 3e 46 | 69 67 75 72 65 20 33 2d |e menu>F|igure 3-|
|000007a0| 31 36 09 41 20 64 69 61 | 6c 6f 67 20 62 6f 78 20 |16.A dia|log box |
|000007b0| 74 6f 20 73 65 6c 65 63 | 74 20 61 20 6e 65 77 20 |to selec|t a new |
|000007c0| 70 6f 69 6e 74 20 73 69 | 7a 65 20 66 6f 72 20 61 |point si|ze for a|
|000007d0| 20 66 6f 6e 74 30 46 69 | 67 75 72 65 20 33 2d 31 | font0Fi|gure 3-1|
|000007e0| 37 09 45 6e 74 65 72 69 | 6e 67 20 61 20 6e 65 77 |7.Enteri|ng a new|
|000007f0| 20 70 6f 69 6e 74 20 73 | 69 7a 65 20 66 6f 72 20 | point s|ize for |
|00000800| 61 20 66 6f 6e 74 3a 46 | 69 67 75 72 65 20 33 2d |a font:F|igure 3-|
|00000810| 31 38 09 54 68 65 20 4f | 74 68 65 72 20 63 6f 6d |18.The O|ther com|
|00000820| 6d 61 6e 64 20 77 69 74 | 68 20 61 20 66 6f 6e 74 |mand wit|h a font|
|00000830| 20 73 69 7a 65 20 61 64 | 64 65 64 20 74 6f 20 69 | size ad|ded to i|
|00000840| 74 37 46 69 67 75 72 65 | 20 33 2d 31 39 09 54 68 |t7Figure| 3-19.Th|
|00000850| 65 20 48 65 6c 70 20 6d | 65 6e 75 20 6f 66 20 74 |e Help m|enu of t|
|00000860| 68 65 20 53 75 72 66 57 | 72 69 74 65 72 20 61 70 |he SurfW|riter ap|
|00000870| 70 6c 69 63 61 74 69 6f | 6e 49 46 69 67 75 72 65 |plicatio|nIFigure|
|00000880| 20 33 2d 32 30 09 44 65 | 66 61 75 6c 74 20 68 65 | 3-20.De|fault he|
|00000890| 6c 70 20 62 61 6c 6c 6f | 6f 6e 73 20 66 6f 72 20 |lp ballo|ons for |
|000008a0| 74 68 65 20 41 70 70 6c | 65 20 6d 65 6e 75 20 61 |the Appl|e menu a|
|000008b0| 6e 64 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 6d |nd Appli|cation m|
|000008c0| 65 6e 75 41 46 69 67 75 | 72 65 20 33 2d 32 31 09 |enuAFigu|re 3-21.|
|000008d0| 48 65 6c 70 20 62 61 6c | 6c 6f 6f 6e 73 20 66 6f |Help bal|loons fo|
|000008e0| 72 20 64 69 66 66 65 72 | 65 6e 74 20 73 74 61 74 |r differ|ent stat|
|000008f0| 65 73 20 6f 66 20 74 68 | 65 20 43 75 74 20 63 6f |es of th|e Cut co|
|00000900| 6d 6d 61 6e 64 3b 46 69 | 67 75 72 65 20 33 2d 32 |mmand;Fi|gure 3-2|
|00000910| 32 09 41 63 63 65 73 73 | 69 6e 67 20 74 68 65 20 |2.Access|ing the |
|00000920| 4b 65 79 62 6f 61 72 64 | 20 6d 65 6e 75 20 66 72 |Keyboard| menu fr|
|00000930| 6f 6d 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |om an ap|plicatio|
|00000940| 6e 29 46 69 67 75 72 65 | 20 33 2d 32 33 09 53 75 |n)Figure| 3-23.Su|
|00000950| 72 66 57 72 69 74 65 72 | d5 73 20 41 70 70 6c 69 |rfWriter|.s Appli|
|00000960| 63 61 74 69 6f 6e 20 6d | 65 6e 75 19 46 69 67 75 |cation m|enu.Figu|
|00000970| 72 65 20 33 2d 32 34 09 | 41 20 70 6f 70 2d 75 70 |re 3-24.|A pop-up|
|00000980| 20 6d 65 6e 75 38 46 69 | 67 75 72 65 20 33 2d 32 | menu8Fi|gure 3-2|
|00000990| 35 09 41 20 70 6f 70 2d | 75 70 20 6d 65 6e 75 20 |5.A pop-|up menu |
|000009a0| 69 6e 20 69 74 73 20 63 | 6c 6f 73 65 64 20 61 6e |in its c|losed an|
|000009b0| 64 20 6f 70 65 6e 20 73 | 74 61 74 65 73 20 31 46 |d open s|tates 1F|
|000009c0| 69 67 75 72 65 20 33 2d | 32 36 09 4d 61 6b 69 6e |igure 3-|26.Makin|
|000009d0| 67 20 61 20 73 65 6c 65 | 63 74 69 6f 6e 20 66 72 |g a sele|ction fr|
|000009e0| 6f 6d 20 61 20 70 6f 70 | 2d 75 70 20 6d 65 6e 75 |om a pop|-up menu|
|000009f0| 36 46 69 67 75 72 65 20 | 33 2d 32 37 09 43 68 6f |6Figure |3-27.Cho|
|00000a00| 6f 73 69 6e 67 20 6f 6e | 65 20 61 74 74 72 69 62 |osing on|e attrib|
|00000a10| 75 74 65 20 66 72 6f 6d | 20 61 20 6c 69 73 74 20 |ute from| a list |
|00000a20| 6f 66 20 6d 61 6e 79 39 | 46 69 67 75 72 65 20 33 |of many9|Figure 3|
|00000a30| 2d 32 38 09 41 20 64 69 | 61 6c 6f 67 20 62 6f 78 |-28.A di|alog box|
|00000a40| 20 77 69 74 68 20 63 68 | 65 63 6b 62 6f 78 65 73 | with ch|eckboxes|
|00000a50| 20 61 6e 64 20 70 6f 70 | 2d 75 70 20 6d 65 6e 75 | and pop|-up menu|
|00000a60| 73 3f 46 69 67 75 72 65 | 20 33 2d 32 39 09 41 20 |s?Figure| 3-29.A |
|00000a70| 74 79 70 65 2d 69 6e 20 | 70 6f 70 2d 75 70 20 6d |type-in |pop-up m|
|00000a80| 65 6e 75 20 69 6e 20 69 | 74 73 20 63 6c 6f 73 65 |enu in i|ts close|
|00000a90| 64 20 61 6e 64 20 6f 70 | 65 6e 20 73 74 61 74 65 |d and op|en state|
|00000aa0| 73 3c 46 69 67 75 72 65 | 20 33 2d 33 30 09 41 20 |s<Figure| 3-30.A |
|00000ab0| 74 79 70 65 2d 69 6e 20 | 70 6f 70 2d 75 70 20 6d |type-in |pop-up m|
|00000ac0| 65 6e 75 20 77 69 74 68 | 20 61 20 75 73 65 72 d5 |enu with| a user.|
|00000ad0| 73 20 63 68 6f 69 63 65 | 20 61 64 64 65 64 34 46 |s choice| added4F|
|00000ae0| 69 67 75 72 65 20 33 2d | 33 31 09 41 20 68 69 65 |igure 3-|31.A hie|
|00000af0| 72 61 72 63 68 69 63 61 | 6c 20 6d 65 6e 75 20 69 |rarchica|l menu i|
|00000b00| 74 65 6d 20 61 6e 64 20 | 69 74 73 20 73 75 62 6d |tem and |its subm|
|00000b10| 65 6e 75 26 46 69 67 75 | 72 65 20 33 2d 33 32 09 |enu&Figu|re 3-32.|
|00000b20| 41 20 6d 65 6e 75 20 69 | 74 65 6d 20 77 69 74 68 |A menu i|tem with|
|00000b30| 20 61 20 73 75 62 6d 65 | 6e 75 29 46 69 67 75 72 | a subme|nu)Figur|
|00000b40| 65 20 33 2d 33 33 09 41 | 20 70 6f 70 2d 75 70 20 |e 3-33.A| pop-up |
|00000b50| 6d 65 6e 75 20 69 6e 20 | 61 20 64 69 61 6c 6f 67 |menu in |a dialog|
|00000b60| 20 62 6f 78 1f 46 69 67 | 75 72 65 20 33 2d 33 34 | box.Fig|ure 3-34|
|00000b70| 09 49 63 6f 6e 73 20 69 | 6e 20 6d 65 6e 75 20 69 |.Icons i|n menu i|
|00000b80| 74 65 6d 73 36 46 69 67 | 75 72 65 20 33 2d 33 35 |tems6Fig|ure 3-35|
|00000b90| 09 41 20 53 69 7a 65 20 | 6d 65 6e 75 20 77 69 74 |.A Size |menu wit|
|00000ba0| 68 20 75 73 65 72 2d 73 | 70 65 63 69 66 69 65 64 |h user-s|pecified|
|00000bb0| 20 73 69 7a 65 20 61 64 | 64 65 64 2f 46 69 67 75 | size ad|ded/Figu|
|00000bc0| 72 65 20 33 2d 33 36 09 | 4d 65 6e 75 20 61 63 63 |re 3-36.|Menu acc|
|00000bd0| 65 73 73 20 66 72 6f 6d | 20 61 20 6d 6f 64 61 6c |ess from| a modal|
|00000be0| 20 64 69 61 6c 6f 67 20 | 62 6f 78 3a 46 69 67 75 | dialog |box:Figu|
|00000bf0| 72 65 20 33 2d 33 37 09 | 53 74 72 75 63 74 75 72 |re 3-37.|Structur|
|00000c00| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|00000c10| 6d 65 6e 75 20 28 27 4d | 45 4e 55 27 29 20 72 65 |menu ('M|ENU') re|
|00000c20| 73 6f 75 72 63 65 73 46 | 69 67 75 72 65 20 33 2d |sourcesF|igure 3-|
|00000c30| 33 38 09 54 68 65 20 76 | 61 72 69 61 62 6c 65 2d |38.The v|ariable-|
|00000c40| 6c 65 6e 67 74 68 20 64 | 61 74 61 20 74 68 61 74 |length d|ata that|
|00000c50| 20 64 65 73 63 72 69 62 | 65 73 20 6d 65 6e 75 20 | describ|es menu |
|00000c60| 69 74 65 6d 73 20 61 73 | 20 64 65 66 69 6e 65 64 |items as| defined|
|00000c70| 20 62 79 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | by the |standard|
|00000c80| 20 6d 65 6e 75 20 64 65 | 66 69 6e 69 74 69 6f 6e | menu de|finition|
|00000c90| 20 70 72 6f 63 65 64 75 | 72 65 3e 46 69 67 75 72 | procedu|re>Figur|
|00000ca0| 65 20 33 2d 33 39 09 53 | 74 72 75 63 74 75 72 65 |e 3-39.S|tructure|
|00000cb0| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 6d | of a co|mpiled m|
|00000cc0| 65 6e 75 20 62 61 72 20 | 28 27 4d 42 41 52 27 29 |enu bar |('MBAR')|
|00000cd0| 20 72 65 73 6f 75 72 63 | 65 52 46 69 67 75 72 65 | resourc|eRFigure|
|00000ce0| 20 33 2d 34 30 09 53 74 | 72 75 63 74 75 72 65 20 | 3-40.St|ructure |
|00000cf0| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 6d 65 |of a com|piled me|
|00000d00| 6e 75 20 63 6f 6c 6f 72 | 20 69 6e 66 6f 72 6d 61 |nu color| informa|
|00000d10| 74 69 6f 6e 20 74 61 62 | 6c 65 20 28 27 6d 63 74 |tion tab|le ('mct|
|00000d20| 62 27 29 20 72 65 73 6f | 75 72 63 65 41 46 69 67 |b') reso|urceAFig|
|00000d30| 75 72 65 20 33 2d 34 31 | 09 53 74 72 75 63 74 75 |ure 3-41|.Structu|
|00000d40| 72 65 20 6f 66 20 61 20 | 6d 65 6e 75 20 63 6f 6c |re of a |menu col|
|00000d50| 6f 72 20 65 6e 74 72 79 | 20 69 6e 20 61 6e 20 27 |or entry| in an '|
|00000d60| 6d 63 74 62 27 20 72 65 | 73 6f 75 72 63 65 1b 46 |mctb' re|source.F|
|00000d70| 69 67 75 72 65 20 34 2d | 31 09 4d 75 6c 74 69 70 |igure 4-|1.Multip|
|00000d80| 6c 65 20 77 69 6e 64 6f | 77 73 1c 46 69 67 75 72 |le windo|ws.Figur|
|00000d90| 65 20 34 2d 32 09 41 20 | 64 6f 63 75 6d 65 6e 74 |e 4-2.A |document|
|00000da0| 20 77 69 6e 64 6f 77 2f | 46 69 67 75 72 65 20 34 | window/|Figure 4|
|00000db0| 2d 33 09 41 63 74 69 76 | 65 20 61 6e 64 20 69 6e |-3.Activ|e and in|
|00000dc0| 61 63 74 69 76 65 20 64 | 6f 63 75 6d 65 6e 74 20 |active d|ocument |
|00000dd0| 77 69 6e 64 6f 77 73 27 | 46 69 67 75 72 65 20 34 |windows'|Figure 4|
|00000de0| 2d 34 09 41 20 77 69 6e | 64 6f 77 20 6f 66 20 74 |-4.A win|dow of t|
|00000df0| 79 70 65 20 7a 6f 6f 6d | 44 6f 63 50 72 6f 63 4f |ype zoom|DocProcO|
|00000e00| 46 69 67 75 72 65 20 34 | 2d 35 09 41 20 77 69 6e |Figure 4|-5.A win|
|00000e10| 64 6f 77 20 6f 66 20 74 | 79 70 65 20 7a 6f 6f 6d |dow of t|ype zoom|
|00000e20| 44 6f 63 50 72 6f 63 2c | 20 77 69 74 68 20 73 69 |DocProc,| with si|
|00000e30| 7a 65 20 62 6f 78 20 61 | 6e 64 20 69 6e 61 63 74 |ze box a|nd inact|
|00000e40| 69 76 65 20 73 63 72 6f | 6c 6c 20 62 61 72 73 4d |ive scro|ll barsM|
|00000e50| 46 69 67 75 72 65 20 34 | 2d 36 09 57 69 6e 64 6f |Figure 4|-6.Windo|
|00000e60| 77 20 74 79 70 65 73 20 | 66 6f 72 20 61 6c 65 72 |w types |for aler|
|00000e70| 74 20 62 6f 78 65 73 20 | 61 6e 64 20 66 69 78 65 |t boxes |and fixe|
|00000e80| 64 2d 70 6f 73 69 74 69 | 6f 6e 20 6d 6f 64 61 6c |d-positi|on modal|
|00000e90| 20 64 69 61 6c 6f 67 20 | 62 6f 78 65 73 2b 46 69 | dialog |boxes+Fi|
|00000ea0| 67 75 72 65 20 34 2d 37 | 09 41 20 77 69 6e 64 6f |gure 4-7|.A windo|
|00000eb0| 77 20 6f 66 20 74 79 70 | 65 20 6d 6f 76 61 62 6c |w of typ|e movabl|
|00000ec0| 65 44 42 6f 78 50 72 6f | 63 29 46 69 67 75 72 65 |eDBoxPro|c)Figure|
|00000ed0| 20 34 2d 38 09 41 20 77 | 69 6e 64 6f 77 20 6f 66 | 4-8.A w|indow of|
|00000ee0| 20 74 79 70 65 20 6e 6f | 47 72 6f 77 44 6f 63 50 | type no|GrowDocP|
|00000ef0| 72 6f 63 23 46 69 67 75 | 72 65 20 34 2d 39 09 53 |roc#Figu|re 4-9.S|
|00000f00| 65 6c 64 6f 6d 2d 75 73 | 65 64 20 77 69 6e 64 6f |eldom-us|ed windo|
|00000f10| 77 20 74 79 70 65 73 3e | 46 69 67 75 72 65 20 34 |w types>|Figure 4|
|00000f20| 2d 31 30 09 57 69 6e 64 | 6f 77 20 66 72 61 6d 65 |-10.Wind|ow frame|
|00000f30| 2c 20 63 6f 6e 74 65 6e | 74 20 72 65 67 69 6f 6e |, conten|t region|
|00000f40| 2c 20 61 6e 64 20 73 74 | 72 75 63 74 75 72 65 20 |, and st|ructure |
|00000f50| 72 65 67 69 6f 6e 17 46 | 69 67 75 72 65 20 34 2d |region.F|igure 4-|
|00000f60| 31 31 09 53 63 72 6f 6c | 6c 20 62 61 72 73 24 46 |11.Scrol|l bars$F|
|00000f70| 69 67 75 72 65 20 34 2d | 31 32 09 43 6f 6e 74 72 |igure 4-|12.Contr|
|00000f80| 6f 6c 73 20 69 6e 20 61 | 20 64 69 61 6c 6f 67 20 |ols in a| dialog |
|00000f90| 62 6f 78 31 46 69 67 75 | 72 65 20 34 2d 31 33 09 |box1Figu|re 4-13.|
|00000fa0| 54 68 65 20 51 75 69 63 | 6b 44 72 61 77 20 67 6c |The Quic|kDraw gl|
|00000fb0| 6f 62 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |obal coo|rdinate |
|00000fc0| 70 6c 61 6e 65 3a 46 69 | 67 75 72 65 20 34 2d 31 |plane:Fi|gure 4-1|
|00000fd0| 34 09 41 20 77 69 6e 64 | 6f 77 d5 73 20 6c 6f 63 |4.A wind|ow.s loc|
|00000fe0| 61 6c 20 61 6e 64 20 67 | 6c 6f 62 61 6c 20 63 6f |al and g|lobal co|
|00000ff0| 6f 72 64 69 6e 61 74 65 | 20 73 79 73 74 65 6d 73 |ordinate| systems|
|00001000| 38 46 69 67 75 72 65 20 | 34 2d 31 35 09 44 6f 63 |8Figure |4-15.Doc|
|00001010| 75 6d 65 6e 74 20 77 69 | 6e 64 6f 77 20 70 6f 73 |ument wi|ndow pos|
|00001020| 69 74 69 6f 6e 73 20 6f | 6e 20 61 20 73 69 6e 67 |itions o|n a sing|
|00001030| 6c 65 20 73 63 72 65 65 | 6e 3a 46 69 67 75 72 65 |le scree|n:Figure|
|00001040| 20 34 2d 31 36 09 d2 46 | 69 6c 6c 69 6e 67 20 69 | 4-16..F|illing i|
|00001050| 6e d3 20 61 6e 20 65 6d | 70 74 79 20 64 6f 63 75 |n. an em|pty docu|
|00001060| 6d 65 6e 74 20 77 69 6e | 64 6f 77 20 70 6f 73 69 |ment win|dow posi|
|00001070| 74 69 6f 6e 39 46 69 67 | 75 72 65 20 34 2d 31 37 |tion9Fig|ure 4-17|
|00001080| 09 44 6f 63 75 6d 65 6e | 74 20 77 69 6e 64 6f 77 |.Documen|t window|
|00001090| 20 70 6f 73 69 74 69 6f | 6e 73 20 6f 6e 20 6d 75 | positio|ns on mu|
|000010a0| 6c 74 69 70 6c 65 20 73 | 63 72 65 65 6e 73 4a 46 |ltiple s|creensJF|
|000010b0| 69 67 75 72 65 20 34 2d | 31 38 09 4d 6f 76 69 6e |igure 4-|18.Movin|
|000010c0| 67 20 6f 6e 65 20 77 69 | 6e 64 6f 77 20 61 6e 64 |g one wi|ndow and|
|000010d0| 20 61 64 64 69 6e 67 20 | 74 6f 20 61 6e 6f 74 68 | adding |to anoth|
|000010e0| 65 72 20 77 69 6e 64 6f | 77 d5 73 20 75 70 64 61 |er windo|w.s upda|
|000010f0| 74 65 20 72 65 67 69 6f | 6e 37 46 69 67 75 72 65 |te regio|n7Figure|
|00001100| 20 34 2d 31 39 09 54 68 | 65 20 63 6c 6f 73 65 20 | 4-19.Th|e close |
|00001110| 62 6f 78 20 77 69 74 68 | 20 61 6e 64 20 77 69 74 |box with| and wit|
|00001120| 68 6f 75 74 20 68 69 67 | 68 6c 69 67 68 74 69 6e |hout hig|hlightin|
|00001130| 67 36 46 69 67 75 72 65 | 20 34 2d 32 30 09 54 68 |g6Figure| 4-20.Th|
|00001140| 65 20 7a 6f 6f 6d 20 62 | 6f 78 20 77 69 74 68 20 |e zoom b|ox with |
|00001150| 61 6e 64 20 77 69 74 68 | 6f 75 74 20 68 69 67 68 |and with|out high|
|00001160| 6c 69 67 68 74 69 6e 67 | 5d 46 69 67 75 72 65 20 |lighting|]Figure |
|00001170| 34 2d 32 31 09 54 68 65 | 20 65 66 66 65 63 74 73 |4-21.The| effects|
|00001180| 20 6f 66 20 42 65 67 69 | 6e 55 70 64 61 74 65 20 | of Begi|nUpdate |
|00001190| 61 6e 64 20 45 6e 64 55 | 70 64 61 74 65 20 6f 6e |and EndU|pdate on|
|000011a0| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 72 65 67 | the vis|ible reg|
|000011b0| 69 6f 6e 20 61 6e 64 20 | 0d 75 70 64 61 74 65 20 |ion and |.update |
|000011c0| 72 65 67 69 6f 6e 4e 46 | 69 67 75 72 65 20 34 2d |regionNF|igure 4-|
|000011d0| 32 32 09 54 68 65 20 63 | 75 6d 75 6c 61 74 69 76 |22.The c|umulativ|
|000011e0| 65 20 65 66 66 65 63 74 | 73 20 6f 66 20 48 69 64 |e effect|s of Hid|
|000011f0| 65 57 69 6e 64 6f 77 2c | 20 53 68 6f 77 57 69 6e |eWindow,| ShowWin|
|00001200| 64 6f 77 2c 20 61 6e 64 | 20 53 65 6c 65 63 74 57 |dow, and| SelectW|
|00001210| 69 6e 64 6f 77 32 46 69 | 67 75 72 65 20 34 2d 32 |indow2Fi|gure 4-2|
|00001220| 33 09 4c 69 6d 69 74 69 | 6e 67 20 72 65 63 74 61 |3.Limiti|ng recta|
|00001230| 6e 67 6c 65 20 75 73 65 | 64 20 62 79 20 44 72 61 |ngle use|d by Dra|
|00001240| 67 47 72 61 79 52 67 6e | 3c 46 69 67 75 72 65 20 |gGrayRgn|<Figure |
|00001250| 34 2d 32 34 09 53 74 72 | 75 63 74 75 72 65 20 6f |4-24.Str|ucture o|
|00001260| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 77 69 6e |f a comp|iled win|
|00001270| 64 6f 77 20 28 27 57 49 | 4e 44 27 29 20 72 65 73 |dow ('WI|ND') res|
|00001280| 6f 75 72 63 65 48 46 69 | 67 75 72 65 20 34 2d 32 |ourceHFi|gure 4-2|
|00001290| 35 09 53 74 72 75 63 74 | 75 72 65 20 6f 66 20 61 |5.Struct|ure of a|
|000012a0| 20 63 6f 6d 70 69 6c 65 | 64 20 77 69 6e 64 6f 77 | compile|d window|
|000012b0| 20 63 6f 6c 6f 72 20 74 | 61 62 6c 65 20 28 27 77 | color t|able ('w|
|000012c0| 63 74 62 27 29 20 72 65 | 73 6f 75 72 63 65 3c 46 |ctb') re|source<F|
|000012d0| 69 67 75 72 65 20 35 2d | 31 09 53 74 61 6e 64 61 |igure 5-|1.Standa|
|000012e0| 72 64 20 63 6f 6e 74 72 | 6f 6c 73 20 70 72 6f 76 |rd contr|ols prov|
|000012f0| 69 64 65 64 20 62 79 20 | 74 68 65 20 43 6f 6e 74 |ided by |the Cont|
|00001300| 72 6f 6c 20 4d 61 6e 61 | 67 65 72 1b 46 69 67 75 |rol Mana|ger.Figu|
|00001310| 72 65 20 35 2d 32 09 41 | 20 64 65 66 61 75 6c 74 |re 5-2.A| default|
|00001320| 20 62 75 74 74 6f 6e 1e | 46 69 67 75 72 65 20 35 | button.|Figure 5|
|00001330| 2d 33 09 41 20 73 65 6c | 65 63 74 65 64 20 63 68 |-3.A sel|ected ch|
|00001340| 65 63 6b 62 6f 78 20 46 | 69 67 75 72 65 20 35 2d |eckbox F|igure 5-|
|00001350| 34 09 41 20 76 65 72 74 | 69 63 61 6c 20 73 63 72 |4.A vert|ical scr|
|00001360| 6f 6c 6c 20 62 61 72 31 | 46 69 67 75 72 65 20 35 |oll bar1|Figure 5|
|00001370| 2d 35 09 55 73 69 6e 67 | 20 74 68 65 20 73 63 72 |-5.Using| the scr|
|00001380| 6f 6c 6c 20 62 6f 78 20 | 61 6e 64 20 73 63 72 6f |oll box |and scro|
|00001390| 6c 6c 20 61 72 72 6f 77 | 73 67 46 69 67 75 72 65 |ll arrow|sgFigure|
|000013a0| 20 35 2d 36 09 53 70 61 | 74 69 61 6c 20 72 65 6c | 5-6.Spa|tial rel|
|000013b0| 61 74 69 6f 6e 73 20 62 | 65 74 77 65 65 6e 20 61 |ations b|etween a|
|000013c0| 20 64 6f 63 75 6d 65 6e | 74 20 61 6e 64 20 61 20 | documen|t and a |
|000013d0| 77 69 6e 64 6f 77 2c 20 | 61 6e 64 20 74 68 65 69 |window, |and thei|
|000013e0| 72 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |r repres|entation|
|000013f0| 20 62 79 20 0d 61 20 73 | 63 72 6f 6c 6c 20 62 61 | by .a s|croll ba|
|00001400| 72 21 46 69 67 75 72 65 | 20 35 2d 37 09 43 75 73 |r!Figure| 5-7.Cus|
|00001410| 74 6f 6d 20 73 6c 69 64 | 65 72 20 63 6f 6e 74 72 |tom slid|er contr|
|00001420| 6f 6c 73 40 46 69 67 75 | 72 65 20 35 2d 38 09 56 |ols@Figu|re 5-8.V|
|00001430| 69 73 75 61 6c 20 66 65 | 65 64 62 61 63 6b 20 66 |isual fe|edback f|
|00001440| 6f 72 20 75 73 65 72 20 | 73 65 6c 65 63 74 69 6f |or user |selectio|
|00001450| 6e 20 6f 66 20 61 63 74 | 69 76 65 20 63 6f 6e 74 |n of act|ive cont|
|00001460| 72 6f 6c 73 1c 46 69 67 | 75 72 65 20 35 2d 39 09 |rols.Fig|ure 5-9.|
|00001470| 49 6e 61 63 74 69 76 65 | 20 63 6f 6e 74 72 6f 6c |Inactive| control|
|00001480| 73 27 46 69 67 75 72 65 | 20 35 2d 31 30 09 41 20 |s'Figure| 5-10.A |
|00001490| 62 75 74 74 6f 6e 20 69 | 6e 20 61 20 73 69 6d 70 |button i|n a simp|
|000014a0| 6c 65 20 77 69 6e 64 6f | 77 2c 46 69 67 75 72 65 |le windo|w,Figure|
|000014b0| 20 35 2d 31 31 09 52 61 | 64 69 6f 20 62 75 74 74 | 5-11.Ra|dio butt|
|000014c0| 6f 6e 73 20 69 6e 20 61 | 20 73 69 6d 70 6c 65 20 |ons in a| simple |
|000014d0| 77 69 6e 64 6f 77 3c 46 | 69 67 75 72 65 20 35 2d |window<F|igure 5-|
|000014e0| 31 32 09 48 6f 77 20 61 | 20 73 63 72 6f 6c 6c 20 |12.How a| scroll |
|000014f0| 62 61 72 20 73 68 6f 75 | 6c 64 20 6f 76 65 72 6c |bar shou|ld overl|
|00001500| 61 70 20 74 68 65 20 77 | 69 6e 64 6f 77 20 66 72 |ap the w|indow fr|
|00001510| 61 6d 65 19 46 69 67 75 | 72 65 20 35 2d 31 33 09 |ame.Figu|re 5-13.|
|00001520| 41 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 2e 46 69 |A pop-up| menu.Fi|
|00001530| 67 75 72 65 20 35 2d 31 | 34 09 44 69 6d 65 6e 73 |gure 5-1|4.Dimens|
|00001540| 69 6f 6e 73 20 6f 66 20 | 61 20 73 61 6d 70 6c 65 |ions of |a sample|
|00001550| 20 70 6f 70 2d 75 70 20 | 6d 65 6e 75 26 46 69 67 | pop-up |menu&Fig|
|00001560| 75 72 65 20 35 2d 31 35 | 09 54 68 72 65 65 20 63 |ure 5-15|.Three c|
|00001570| 6f 6e 74 72 6f 6c 73 20 | 69 6e 20 61 20 77 69 6e |ontrols |in a win|
|00001580| 64 6f 77 34 46 69 67 75 | 72 65 20 35 2d 31 36 09 |dow4Figu|re 5-16.|
|00001590| 4d 6f 76 69 6e 67 20 61 | 20 64 6f 63 75 6d 65 6e |Moving a| documen|
|000015a0| 74 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 69 74 |t relati|ve to it|
|000015b0| 73 20 77 69 6e 64 6f 77 | 36 46 69 67 75 72 65 20 |s window|6Figure |
|000015c0| 35 2d 31 37 09 55 70 64 | 61 74 69 6e 67 20 74 68 |5-17.Upd|ating th|
|000015d0| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 61 20 |e conten|ts of a |
|000015e0| 73 63 72 6f 6c 6c 65 64 | 20 77 69 6e 64 6f 77 30 |scrolled| window0|
|000015f0| 46 69 67 75 72 65 20 35 | 2d 31 38 09 52 65 73 74 |Figure 5|-18.Rest|
|00001600| 6f 72 69 6e 67 20 74 68 | 65 20 77 69 6e 64 6f 77 |oring th|e window|
|00001610| 20 6f 72 69 67 69 6e 20 | 74 6f 20 28 30 2c 30 29 | origin |to (0,0)|
|00001620| 2e 46 69 67 75 72 65 20 | 35 2d 31 39 09 53 63 72 |.Figure |5-19.Scr|
|00001630| 6f 6c 6c 69 6e 67 20 74 | 6f 20 74 68 65 20 65 6e |olling t|o the en|
|00001640| 64 20 6f 66 20 61 20 64 | 6f 63 75 6d 65 6e 74 51 |d of a d|ocumentQ|
|00001650| 46 69 67 75 72 65 20 35 | 2d 32 30 09 55 70 64 61 |Figure 5|-20.Upda|
|00001660| 74 69 6e 67 20 61 20 77 | 69 6e 64 6f 77 d5 73 20 |ting a w|indow.s |
|00001670| 63 6f 6e 74 65 6e 74 73 | 20 61 6e 64 20 72 65 74 |contents| and ret|
|00001680| 75 72 6e 69 6e 67 20 74 | 68 65 20 77 69 6e 64 6f |urning t|he windo|
|00001690| 77 20 6f 72 69 67 69 6e | 20 74 6f 20 28 30 2c 30 |w origin| to (0,0|
|000016a0| 29 2c 46 69 67 75 72 65 | 20 35 2d 32 31 09 4d 6f |),Figure| 5-21.Mo|
|000016b0| 76 69 6e 67 20 61 6e 64 | 20 72 65 73 69 7a 69 6e |ving and| resizin|
|000016c0| 67 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 59 46 |g scroll| bars YF|
|000016d0| 69 67 75 72 65 20 35 2d | 32 32 09 41 20 76 65 72 |igure 5-|22.A ver|
|000016e0| 74 69 63 61 6c 20 73 63 | 72 6f 6c 6c 20 62 61 72 |tical sc|roll bar|
|000016f0| 20 62 65 66 6f 72 65 20 | 74 68 65 20 61 70 70 6c | before |the appl|
|00001700| 69 63 61 74 69 6f 6e 20 | 6d 6f 76 65 73 20 69 74 |ication |moves it|
|00001710| 20 77 69 74 68 69 6e 20 | 61 20 72 65 73 69 7a 65 | within |a resize|
|00001720| 64 20 77 69 6e 64 6f 77 | 52 46 69 67 75 72 65 20 |d window|RFigure |
|00001730| 35 2d 32 33 09 41 20 76 | 65 72 74 69 63 61 6c 20 |5-23.A v|ertical |
|00001740| 73 63 72 6f 6c 6c 20 62 | 61 72 20 61 66 74 65 72 |scroll b|ar after|
|00001750| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001760| 20 6d 6f 76 65 73 20 69 | 74 73 20 75 70 70 65 72 | moves i|ts upper|
|00001770| 2d 6c 65 66 74 20 70 6f | 69 6e 74 1c 46 69 67 75 |-left po|int.Figu|
|00001780| 72 65 20 35 2d 32 34 09 | 41 20 63 75 73 74 6f 6d |re 5-24.|A custom|
|00001790| 20 63 6f 6e 74 72 6f 6c | 3d 46 69 67 75 72 65 20 | control|=Figure |
|000017a0| 35 2d 32 35 09 53 74 72 | 75 63 74 75 72 65 20 6f |5-25.Str|ucture o|
|000017b0| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 63 6f 6e |f a comp|iled con|
|000017c0| 74 72 6f 6c 20 28 27 43 | 4e 54 4c 27 29 20 72 65 |trol ('C|NTL') re|
|000017d0| 73 6f 75 72 63 65 49 46 | 69 67 75 72 65 20 35 2d |sourceIF|igure 5-|
|000017e0| 32 36 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |26.Struc|ture of |
|000017f0| 61 20 63 6f 6d 70 69 6c | 65 64 20 63 6f 6e 74 72 |a compil|ed contr|
|00001800| 6f 6c 20 63 6f 6c 6f 72 | 20 74 61 62 6c 65 20 28 |ol color| table (|
|00001810| 27 63 63 74 62 27 29 20 | 72 65 73 6f 75 72 63 65 |'cctb') |resource|
|00001820| 2a 46 69 67 75 72 65 20 | 36 2d 31 09 41 6e 20 61 |*Figure |6-1.An a|
|00001830| 6c 65 72 74 20 62 6f 78 | 20 75 73 65 64 20 62 79 |lert box| used by|
|00001840| 20 74 68 65 20 46 69 6e | 64 65 72 1f 46 69 67 75 | the Fin|der.Figu|
|00001850| 72 65 20 36 2d 32 09 41 | 20 74 79 70 69 63 61 6c |re 6-2.A| typical|
|00001860| 20 64 69 61 6c 6f 67 20 | 62 6f 78 17 46 69 67 75 | dialog |box.Figu|
|00001870| 72 65 20 36 2d 33 09 41 | 20 6e 6f 74 65 20 61 6c |re 6-3.A| note al|
|00001880| 65 72 74 1a 46 69 67 75 | 72 65 20 36 2d 34 09 41 |ert.Figu|re 6-4.A|
|00001890| 20 63 61 75 74 69 6f 6e | 20 61 6c 65 72 74 17 46 | caution| alert.F|
|000018a0| 69 67 75 72 65 20 36 2d | 35 09 41 20 73 74 6f 70 |igure 6-|5.A stop|
|000018b0| 20 61 6c 65 72 74 1d 46 | 69 67 75 72 65 20 36 2d | alert.F|igure 6-|
|000018c0| 36 09 41 20 6d 6f 64 61 | 6c 20 64 69 61 6c 6f 67 |6.A moda|l dialog|
|000018d0| 20 62 6f 78 25 46 69 67 | 75 72 65 20 36 2d 37 09 | box%Fig|ure 6-7.|
|000018e0| 41 20 6d 6f 76 61 62 6c | 65 20 6d 6f 64 61 6c 20 |A movabl|e modal |
|000018f0| 64 69 61 6c 6f 67 20 62 | 6f 78 20 46 69 67 75 72 |dialog b|ox Figur|
|00001900| 65 20 36 2d 38 09 41 20 | 6d 6f 64 65 6c 65 73 73 |e 6-8.A |modeless|
|00001910| 20 64 69 61 6c 6f 67 20 | 62 6f 78 28 46 69 67 75 | dialog |box(Figu|
|00001920| 72 65 20 36 2d 39 09 54 | 79 70 69 63 61 6c 20 69 |re 6-9.T|ypical i|
|00001930| 74 65 6d 73 20 69 6e 20 | 61 20 64 69 61 6c 6f 67 |tems in |a dialog|
|00001940| 20 62 6f 78 36 46 69 67 | 75 72 65 20 36 2d 31 30 | box6Fig|ure 6-10|
|00001950| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 20 74 6f |.An aler|t box to|
|00001960| 20 73 61 76 65 20 63 68 | 61 6e 67 65 73 20 74 6f | save ch|anges to|
|00001970| 20 61 20 64 6f 63 75 6d | 65 6e 74 50 46 69 67 75 | a docum|entPFigu|
|00001980| 72 65 20 36 2d 31 31 09 | 41 6e 20 61 6c 65 72 74 |re 6-11.|An alert|
|00001990| 20 62 6f 78 20 64 69 73 | 70 6c 61 79 65 64 20 6f | box dis|played o|
|000019a0| 6e 6c 79 20 64 75 72 69 | 6e 67 20 74 68 65 20 74 |nly duri|ng the t|
|000019b0| 68 69 72 64 20 61 6e 64 | 20 66 6f 75 72 74 68 20 |hird and| fourth |
|000019c0| 61 6c 65 72 74 20 73 74 | 61 67 65 73 25 46 69 67 |alert st|ages%Fig|
|000019d0| 75 72 65 20 36 2d 31 32 | 09 41 20 73 69 6d 70 6c |ure 6-12|.A simpl|
|000019e0| 65 20 6d 6f 64 61 6c 20 | 64 69 61 6c 6f 67 20 62 |e modal |dialog b|
|000019f0| 6f 78 3d 46 69 67 75 72 | 65 20 36 2d 31 33 09 52 |ox=Figur|e 6-13.R|
|00001a00| 65 6c 61 74 69 6f 6e 73 | 68 69 70 20 6f 66 20 76 |elations|hip of v|
|00001a10| 61 72 69 6f 75 73 20 72 | 65 73 6f 75 72 63 65 73 |arious r|esources|
|00001a20| 20 74 6f 20 61 6e 20 61 | 6c 65 72 74 20 62 6f 78 | to an a|lert box|
|00001a30| 31 46 69 67 75 72 65 20 | 36 2d 31 34 09 41 20 73 |1Figure |6-14.A s|
|00001a40| 61 66 65 20 64 65 66 61 | 75 6c 74 20 62 75 74 74 |afe defa|ult butt|
|00001a50| 6f 6e 20 69 6e 20 61 6e | 20 61 6c 65 72 74 20 62 |on in an| alert b|
|00001a60| 6f 78 46 46 69 67 75 72 | 65 20 36 2d 31 35 09 54 |oxFFigur|e 6-15.T|
|00001a70| 68 65 20 63 6f 6e 73 69 | 73 74 65 6e 74 20 73 70 |he consi|stent sp|
|00001a80| 61 63 69 6e 67 20 6f 66 | 20 62 75 74 74 6f 6e 73 |acing of| buttons|
|00001a90| 20 61 6e 64 20 74 65 78 | 74 20 69 6e 20 61 6e 20 | and tex|t in an |
|00001aa0| 61 6c 65 72 74 20 62 6f | 78 5b 46 69 67 75 72 65 |alert bo|x[Figure|
|00001ab0| 20 36 2d 31 36 09 49 6e | 63 6f 72 72 65 63 74 6c | 6-16.In|correctl|
|00001ac0| 79 20 61 6e 64 20 63 6f | 72 72 65 63 74 6c 79 20 |y and co|rrectly |
|00001ad0| 73 69 7a 65 64 20 64 69 | 73 70 6c 61 79 20 72 65 |sized di|splay re|
|00001ae0| 63 74 61 6e 67 6c 65 73 | 20 66 6f 72 20 61 6c 74 |ctangles| for alt|
|00001af0| 65 72 6e 61 74 65 20 73 | 63 72 69 70 74 20 73 79 |ernate s|cript sy|
|00001b00| 73 74 65 6d 73 30 46 69 | 67 75 72 65 20 36 2d 31 |stems0Fi|gure 6-1|
|00001b10| 37 09 49 6e 61 63 74 69 | 76 65 20 63 6f 6e 74 72 |7.Inacti|ve contr|
|00001b20| 6f 6c 73 20 61 6e 64 20 | 64 69 73 61 62 6c 65 64 |ols and |disabled|
|00001b30| 20 69 74 65 6d 73 33 46 | 69 67 75 72 65 20 36 2d | items3F|igure 6-|
|00001b40| 31 38 09 41 20 64 69 61 | 6c 6f 67 20 62 6f 78 20 |18.A dia|log box |
|00001b50| 77 69 74 68 20 4f 4b 20 | 61 6e 64 20 43 61 6e 63 |with OK |and Canc|
|00001b60| 65 6c 20 62 75 74 74 6f | 6e 73 39 46 69 67 75 72 |el butto|ns9Figur|
|00001b70| 65 20 36 2d 31 39 09 41 | 20 6d 6f 76 61 62 6c 65 |e 6-19.A| movable|
|00001b80| 20 6d 6f 64 61 6c 20 64 | 69 61 6c 6f 67 20 62 6f | modal d|ialog bo|
|00001b90| 78 20 77 69 74 68 20 61 | 20 53 74 6f 70 20 62 75 |x with a| Stop bu|
|00001ba0| 74 74 6f 6e 2d 46 69 67 | 75 72 65 20 36 2d 32 30 |tton-Fig|ure 6-20|
|00001bb0| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 20 77 69 |.An aler|t box wi|
|00001bc0| 74 68 20 61 20 52 65 76 | 65 72 74 20 62 75 74 74 |th a Rev|ert butt|
|00001bd0| 6f 6e 30 46 69 67 75 72 | 65 20 36 2d 32 31 09 41 |on0Figur|e 6-21.A|
|00001be0| 6e 20 6f 62 73 63 75 72 | 65 20 61 6e 64 20 75 73 |n obscur|e and us|
|00001bf0| 65 6c 65 73 73 20 61 6c | 65 72 74 20 6d 65 73 73 |eless al|ert mess|
|00001c00| 61 67 65 28 46 69 67 75 | 72 65 20 36 2d 32 32 09 |age(Figu|re 6-22.|
|00001c10| 41 20 6c 65 73 73 20 6f | 62 73 63 75 72 65 20 61 |A less o|bscure a|
|00001c20| 6c 65 72 74 20 6d 65 73 | 73 61 67 65 2d 46 69 67 |lert mes|sage-Fig|
|00001c30| 75 72 65 20 36 2d 32 33 | 09 41 20 63 6c 65 61 72 |ure 6-23|.A clear|
|00001c40| 20 61 6e 64 20 68 65 6c | 70 66 75 6c 20 61 6c 65 | and hel|pful ale|
|00001c50| 72 74 20 6d 65 73 73 61 | 67 65 29 46 69 67 75 72 |rt messa|ge)Figur|
|00001c60| 65 20 36 2d 32 34 09 41 | 20 70 6f 70 2d 75 70 20 |e 6-24.A| pop-up |
|00001c70| 6d 65 6e 75 20 69 6e 20 | 61 20 64 69 61 6c 6f 67 |menu in |a dialog|
|00001c80| 20 62 6f 78 25 46 69 67 | 75 72 65 20 36 2d 32 35 | box%Fig|ure 6-25|
|00001c90| 09 41 20 73 65 6c 65 63 | 74 65 64 20 73 63 72 6f |.A selec|ted scro|
|00001ca0| 6c 6c 69 6e 67 20 6c 69 | 73 74 36 46 69 67 75 72 |lling li|st6Figur|
|00001cb0| 65 20 36 2d 32 36 09 41 | 6e 20 61 6c 65 72 74 20 |e 6-26.A|n alert |
|00001cc0| 62 6f 78 20 74 68 61 74 | 20 64 69 73 70 6c 61 79 |box that| display|
|00001cd0| 73 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 6e 61 6d |s a docu|ment nam|
|00001ce0| 65 3c 46 69 67 75 72 65 | 20 36 2d 32 37 09 54 77 |e<Figure| 6-27.Tw|
|00001cf0| 6f 20 65 64 69 74 61 62 | 6c 65 20 74 65 78 74 20 |o editab|le text |
|00001d00| 69 74 65 6d 73 20 69 6e | 20 61 20 6d 6f 64 65 6c |items in| a model|
|00001d10| 65 73 73 20 64 69 61 6c | 6f 67 20 62 6f 78 36 46 |ess dial|og box6F|
|00001d20| 69 67 75 72 65 20 36 2d | 32 38 09 41 6e 20 65 78 |igure 6-|28.An ex|
|00001d30| 69 73 74 69 6e 67 20 64 | 69 61 6c 6f 67 20 62 6f |isting d|ialog bo|
|00001d40| 78 20 61 6e 64 20 69 74 | 65 6d 73 20 74 6f 20 61 |x and it|ems to a|
|00001d50| 70 70 65 6e 64 33 46 69 | 67 75 72 65 20 36 2d 32 |ppend3Fi|gure 6-2|
|00001d60| 39 09 54 68 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |9.The di|alog box|
|00001d70| 20 61 66 74 65 72 20 69 | 74 65 6d 73 20 61 72 65 | after i|tems are|
|00001d80| 20 6f 76 65 72 6c 61 69 | 64 40 46 69 67 75 72 65 | overlai|d@Figure|
|00001d90| 20 36 2d 33 30 09 54 68 | 65 20 64 69 61 6c 6f 67 | 6-30.Th|e dialog|
|00001da0| 20 62 6f 78 20 61 66 74 | 65 72 20 69 74 65 6d 73 | box aft|er items|
|00001db0| 20 61 72 65 20 61 70 70 | 65 6e 64 65 64 20 74 6f | are app|ended to|
|00001dc0| 20 74 68 65 20 72 69 67 | 68 74 41 46 69 67 75 72 | the rig|htAFigur|
|00001dd0| 65 20 36 2d 33 31 09 54 | 68 65 20 64 69 61 6c 6f |e 6-31.T|he dialo|
|00001de0| 67 20 62 6f 78 20 61 66 | 74 65 72 20 69 74 65 6d |g box af|ter item|
|00001df0| 73 20 61 72 65 20 61 70 | 70 65 6e 64 65 64 20 74 |s are ap|pended t|
|00001e00| 6f 20 74 68 65 20 62 6f | 74 74 6f 6d 4b 46 69 67 |o the bo|ttomKFig|
|00001e10| 75 72 65 20 36 2d 33 32 | 09 41 20 64 69 61 6c 6f |ure 6-32|.A dialo|
|00001e20| 67 20 62 6f 78 20 77 69 | 74 68 20 61 6e 20 69 74 |g box wi|th an it|
|00001e30| 65 6d 20 61 70 70 65 6e | 64 65 64 20 72 65 6c 61 |em appen|ded rela|
|00001e40| 74 69 76 65 20 74 6f 20 | 61 6e 20 65 78 69 73 74 |tive to |an exist|
|00001e50| 69 6e 67 20 69 74 65 6d | 36 46 69 67 75 72 65 20 |ing item|6Figure |
|00001e60| 36 2d 33 33 09 41 6e 20 | 61 6c 65 72 74 20 62 6f |6-33.An |alert bo|
|00001e70| 78 20 69 6e 20 66 72 6f | 6e 74 20 6f 66 20 61 20 |x in fro|nt of a |
|00001e80| 64 6f 63 75 6d 65 6e 74 | 20 77 69 6e 64 6f 77 2b |document| window+|
|00001e90| 46 69 67 75 72 65 20 36 | 2d 33 34 09 41 6e 20 61 |Figure 6|-34.An a|
|00001ea0| 6c 65 72 74 20 62 6f 78 | 20 6f 6e 20 74 68 65 20 |lert box| on the |
|00001eb0| 6d 61 69 6e 20 73 63 72 | 65 65 6e 4c 46 69 67 75 |main scr|eenLFigu|
|00001ec0| 72 65 20 36 2d 33 35 09 | 41 6e 20 61 6c 65 72 74 |re 6-35.|An alert|
|00001ed0| 20 62 6f 78 20 69 6e 20 | 74 68 65 20 61 6c 65 72 | box in |the aler|
|00001ee0| 74 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |t positi|on of th|
|00001ef0| 65 20 64 6f 63 75 6d 65 | 6e 74 20 77 69 6e 64 6f |e docume|nt windo|
|00001f00| 77 20 73 63 72 65 65 6e | 43 46 69 67 75 72 65 20 |w screen|CFigure |
|00001f10| 36 2d 33 36 09 41 6e 20 | 61 6c 65 72 74 20 62 6f |6-36.An |alert bo|
|00001f20| 78 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 6c 79 |x displa|yed only|
|00001f30| 20 61 66 74 65 72 20 74 | 68 65 20 74 68 69 72 64 | after t|he third|
|00001f40| 20 61 6c 65 72 74 20 73 | 74 61 67 65 41 46 69 67 | alert s|tageAFig|
|00001f50| 75 72 65 20 36 2d 33 37 | 09 41 20 6d 6f 64 65 6c |ure 6-37|.A model|
|00001f60| 65 73 73 20 64 69 61 6c | 6f 67 20 62 6f 78 20 66 |ess dial|og box f|
|00001f70| 6f 72 20 63 68 61 6e 67 | 69 6e 67 20 74 65 78 74 |or chang|ing text|
|00001f80| 20 69 6e 20 61 20 64 6f | 63 75 6d 65 6e 74 3a 46 | in a do|cument:F|
|00001f90| 69 67 75 72 65 20 36 2d | 33 38 09 4d 65 6e 75 20 |igure 6-|38.Menu |
|00001fa0| 61 63 63 65 73 73 20 77 | 68 65 6e 20 64 69 73 70 |access w|hen disp|
|00001fb0| 6c 61 79 69 6e 67 20 61 | 20 6d 6f 64 61 6c 20 64 |laying a| modal d|
|00001fc0| 69 61 6c 6f 67 20 62 6f | 78 3f 46 69 67 75 72 65 |ialog bo|x?Figure|
|00001fd0| 20 36 2d 33 39 09 54 68 | 72 65 65 20 62 75 74 74 | 6-39.Th|ree butt|
|00001fe0| 6f 6e 73 20 66 6f 72 20 | 77 68 69 63 68 20 43 61 |ons for |which Ca|
|00001ff0| 75 74 69 6f 6e 41 6c 65 | 72 74 20 72 65 70 6f 72 |utionAle|rt repor|
|00002000| 74 73 20 65 76 65 6e 74 | 73 3b 46 69 67 75 72 65 |ts event|s;Figure|
|00002010| 20 36 2d 34 30 09 46 6f | 75 72 20 69 74 65 6d 73 | 6-40.Fo|ur items|
|00002020| 20 66 6f 72 20 77 68 69 | 63 68 20 4d 6f 64 61 6c | for whi|ch Modal|
|00002030| 44 69 61 6c 6f 67 20 72 | 65 70 6f 72 74 73 20 65 |Dialog r|eports e|
|00002040| 76 65 6e 74 73 47 46 69 | 67 75 72 65 20 36 2d 34 |ventsGFi|gure 6-4|
|00002050| 31 09 41 20 6d 6f 64 65 | 6c 65 73 73 20 64 69 61 |1.A mode|less dia|
|00002060| 6c 6f 67 20 62 6f 78 20 | 66 6f 72 20 77 68 69 63 |log box |for whic|
|00002070| 68 20 44 69 61 6c 6f 67 | 53 65 6c 65 63 74 20 72 |h Dialog|Select r|
|00002080| 65 70 6f 72 74 73 20 65 | 76 65 6e 74 73 3c 46 69 |eports e|vents<Fi|
|00002090| 67 75 72 65 20 36 2d 34 | 32 09 53 74 72 75 63 74 |gure 6-4|2.Struct|
|000020a0| 75 72 65 20 6f 66 20 61 | 20 63 6f 6d 70 69 6c 65 |ure of a| compile|
|000020b0| 64 20 64 69 61 6c 6f 67 | 20 28 27 44 4c 4f 47 27 |d dialog| ('DLOG'|
|000020c0| 29 20 72 65 73 6f 75 72 | 63 65 3b 46 69 67 75 72 |) resour|ce;Figur|
|000020d0| 65 20 36 2d 34 33 09 53 | 74 72 75 63 74 75 72 65 |e 6-43.S|tructure|
|000020e0| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 61 | of a co|mpiled a|
|000020f0| 6c 65 72 74 20 28 27 41 | 4c 52 54 27 29 20 72 65 |lert ('A|LRT') re|
|00002100| 73 6f 75 72 63 65 3f 46 | 69 67 75 72 65 20 36 2d |source?F|igure 6-|
|00002110| 34 34 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |44.Struc|ture of |
|00002120| 61 20 63 6f 6d 70 69 6c | 65 64 20 69 74 65 6d 20 |a compil|ed item |
|00002130| 6c 69 73 74 20 28 27 44 | 49 54 4c 27 29 20 72 65 |list ('D|ITL') re|
|00002140| 73 6f 75 72 63 65 67 46 | 69 67 75 72 65 20 36 2d |sourcegF|igure 6-|
|00002150| 34 35 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |45.Struc|ture of |
|00002160| 63 6f 6d 70 69 6c 65 64 | 20 62 75 74 74 6f 6e 2c |compiled| button,|
|00002170| 20 63 68 65 63 6b 62 6f | 78 2c 20 72 61 64 69 6f | checkbo|x, radio|
|00002180| 20 62 75 74 74 6f 6e 2c | 20 73 74 61 74 69 63 20 | button,| static |
|00002190| 74 65 78 74 2c 20 61 6e | 64 20 65 64 69 74 61 62 |text, an|d editab|
|000021a0| 6c 65 20 0d 74 65 78 74 | 20 69 74 65 6d 73 42 46 |le .text| itemsBF|
|000021b0| 69 67 75 72 65 20 36 2d | 34 36 09 53 74 72 75 63 |igure 6-|46.Struc|
|000021c0| 74 75 72 65 20 6f 66 20 | 63 6f 6d 70 69 6c 65 64 |ture of |compiled|
|000021d0| 20 63 6f 6e 74 72 6f 6c | 2c 20 69 63 6f 6e 2c 20 | control|, icon, |
|000021e0| 61 6e 64 20 70 69 63 74 | 75 72 65 20 69 74 65 6d |and pict|ure item|
|000021f0| 73 3c 46 69 67 75 72 65 | 20 36 2d 34 37 09 53 74 |s<Figure| 6-47.St|
|00002200| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 63 6f 6d |ructure |of a com|
|00002210| 70 69 6c 65 64 20 61 70 | 70 6c 69 63 61 74 69 6f |piled ap|plicatio|
|00002220| 6e 2d 64 65 66 69 6e 65 | 64 20 69 74 65 6d 2c 46 |n-define|d item,F|
|00002230| 69 67 75 72 65 20 36 2d | 34 38 09 53 74 72 75 63 |igure 6-|48.Struc|
|00002240| 74 75 72 65 20 6f 66 20 | 63 6f 6d 70 69 6c 65 64 |ture of |compiled|
|00002250| 20 68 65 6c 70 20 69 74 | 65 6d 73 3d 46 69 67 75 | help it|ems=Figu|
|00002260| 72 65 20 36 2d 34 39 09 | 53 74 72 75 63 74 75 72 |re 6-49.|Structur|
|00002270| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|00002280| 69 74 65 6d 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 |item col|or table|
|00002290| 20 72 65 73 6f 75 72 63 | 65 37 46 69 67 75 72 65 | resourc|e7Figure|
|000022a0| 20 36 2d 35 30 09 53 74 | 72 75 63 74 75 72 65 20 | 6-50.St|ructure |
|000022b0| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 63 6f |of a com|piled co|
|000022c0| 6e 74 72 6f 6c 20 63 6f | 6c 6f 72 20 74 61 62 6c |ntrol co|lor tabl|
|000022d0| 65 34 46 69 67 75 72 65 | 20 36 2d 35 31 09 53 74 |e4Figure| 6-51.St|
|000022e0| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 63 6f 6d |ructure |of a com|
|000022f0| 70 69 6c 65 64 20 74 65 | 78 74 20 73 74 79 6c 65 |piled te|xt style|
|00002300| 20 74 61 62 6c 65 44 46 | 69 67 75 72 65 20 37 2d | tableDF|igure 7-|
|00002310| 31 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 6e |1.Applic|ation an|
|00002320| 64 20 64 6f 63 75 6d 65 | 6e 74 20 69 63 6f 6e 73 |d docume|nt icons|
|00002330| 20 69 6e 20 61 20 77 69 | 6e 64 6f 77 20 6f 6e 20 | in a wi|ndow on |
|00002340| 74 68 65 20 64 65 73 6b | 74 6f 70 3c 46 69 67 75 |the desk|top<Figu|
|00002350| 72 65 20 37 2d 32 09 41 | 20 63 75 73 74 6f 6d 69 |re 7-2.A| customi|
|00002360| 7a 65 64 20 68 65 6c 70 | 20 62 61 6c 6c 6f 6f 6e |zed help| balloon|
|00002370| 20 66 6f 72 20 61 6e 20 | 61 70 70 6c 69 63 61 74 | for an |applicat|
|00002380| 69 6f 6e 20 69 63 6f 6e | 3d 46 69 67 75 72 65 20 |ion icon|=Figure |
|00002390| 37 2d 33 09 41 20 46 69 | 6e 64 65 72 20 6d 65 73 |7-3.A Fi|nder mes|
|000023a0| 73 61 67 65 20 69 64 65 | 6e 74 69 66 79 69 6e 67 |sage ide|ntifying|
|000023b0| 20 61 20 6d 69 73 73 69 | 6e 67 20 61 70 70 6c 69 | a missi|ng appli|
|000023c0| 63 61 74 69 6f 6e 4f 46 | 69 67 75 72 65 20 37 2d |cationOF|igure 7-|
|000023d0| 34 09 4c 61 72 67 65 20 | 62 6c 61 63 6b 2d 61 6e |4.Large |black-an|
|000023e0| 64 2d 77 68 69 74 65 20 | 61 70 70 6c 69 63 61 74 |d-white |applicat|
|000023f0| 69 6f 6e 20 69 63 6f 6e | 73 20 66 6f 72 20 61 20 |ion icon|s for a |
|00002400| 63 6f 6d 70 61 6e 79 d5 | 73 20 70 72 6f 64 75 63 |company.|s produc|
|00002410| 74 20 6c 69 6e 65 2e 46 | 69 67 75 72 65 20 37 2d |t line.F|igure 7-|
|00002420| 35 09 44 65 66 61 75 6c | 74 20 6c 61 72 67 65 20 |5.Defaul|t large |
|00002430| 62 6c 61 63 6b 2d 61 6e | 64 2d 77 68 69 74 65 20 |black-an|d-white |
|00002440| 69 63 6f 6e 73 41 46 69 | 67 75 72 65 20 37 2d 36 |iconsAFi|gure 7-6|
|00002450| 09 41 20 62 6c 61 63 6b | 2d 61 6e 64 2d 77 68 69 |.A black|-and-whi|
|00002460| 74 65 20 69 63 6f 6e 20 | 61 6e 64 20 69 74 73 20 |te icon |and its |
|00002470| 6d 61 73 6b 20 66 6f 72 | 20 61 6e 20 61 70 70 6c |mask for| an appl|
|00002480| 69 63 61 74 69 6f 6e 26 | 46 69 67 75 72 65 20 37 |ication&|Figure 7|
|00002490| 2d 37 09 54 68 65 20 52 | 65 73 45 64 69 74 20 76 |-7.The R|esEdit v|
|000024a0| 69 65 77 20 6f 66 20 61 | 6e 20 69 63 6f 6e 58 46 |iew of a|n iconXF|
|000024b0| 69 67 75 72 65 20 37 2d | 38 09 4c 69 6e 6b 69 6e |igure 7-|8.Linkin|
|000024c0| 67 20 69 63 6f 6e 20 6c | 69 73 74 20 72 65 73 6f |g icon l|ist reso|
|000024d0| 75 72 63 65 73 20 61 6e | 64 20 66 69 6c 65 20 72 |urces an|d file r|
|000024e0| 65 66 65 72 65 6e 63 65 | 20 72 65 73 6f 75 72 63 |eference| resourc|
|000024f0| 65 73 20 69 6e 20 61 20 | 62 75 6e 64 6c 65 20 72 |es in a |bundle r|
|00002500| 65 73 6f 75 72 63 65 38 | 46 69 67 75 72 65 20 37 |esource8|Figure 7|
|00002510| 2d 39 09 54 68 65 20 64 | 65 66 61 75 6c 74 20 61 |-9.The d|efault a|
|00002520| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 75 6e 61 76 61 |pplicati|on-unava|
|00002530| 69 6c 61 62 6c 65 20 61 | 6c 65 72 74 20 62 6f 78 |ilable a|lert box|
|00002540| 52 46 69 67 75 72 65 20 | 37 2d 31 30 09 54 68 65 |RFigure |7-10.The|
|00002550| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2d 75 6e 61 | applica|tion-una|
|00002560| 76 61 69 6c 61 62 6c 65 | 20 61 6c 65 72 74 20 62 |vailable| alert b|
|00002570| 6f 78 20 73 70 65 63 69 | 66 79 69 6e 67 20 61 6e |ox speci|fying an|
|00002580| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 6e | applica|tion.s n|
|00002590| 61 6d 65 4b 46 69 67 75 | 72 65 20 37 2d 31 31 09 |ameKFigu|re 7-11.|
|000025a0| 54 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2d |The appl|ication-|
|000025b0| 75 6e 61 76 61 69 6c 61 | 62 6c 65 20 61 6c 65 72 |unavaila|ble aler|
|000025c0| 74 20 62 6f 78 20 77 69 | 74 68 20 61 20 63 75 73 |t box wi|th a cus|
|000025d0| 74 6f 6d 69 7a 65 64 20 | 6d 65 73 73 61 67 65 51 |tomized |messageQ|
|000025e0| 46 69 67 75 72 65 20 37 | 2d 31 32 09 54 68 65 20 |Figure 7|-12.The |
|000025f0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2d 75 6e 61 76 |applicat|ion-unav|
|00002600| 61 69 6c 61 62 6c 65 20 | 61 6c 65 72 74 20 62 6f |ailable |alert bo|
|00002610| 78 20 66 6f 72 20 27 54 | 45 58 54 27 20 61 6e 64 |x for 'T|EXT' and|
|00002620| 20 27 50 49 43 54 27 20 | 64 6f 63 75 6d 65 6e 74 | 'PICT' |document|
|00002630| 73 36 46 69 67 75 72 65 | 20 37 2d 31 33 09 54 68 |s6Figure| 7-13.Th|
|00002640| 65 20 76 65 72 73 69 6f | 6e 20 64 61 74 61 20 69 |e versio|n data i|
|00002650| 6e 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |n the in|formatio|
|00002660| 6e 20 77 69 6e 64 6f 77 | 46 46 69 67 75 72 65 20 |n window|FFigure |
|00002670| 37 2d 31 34 09 44 65 66 | 61 75 6c 74 20 61 6e 64 |7-14.Def|ault and|
|00002680| 20 63 75 73 74 6f 6d 69 | 7a 65 64 20 68 65 6c 70 | customi|zed help|
|00002690| 20 62 61 6c 6c 6f 6f 6e | 73 20 66 6f 72 20 61 70 | balloon|s for ap|
|000026a0| 70 6c 69 63 61 74 69 6f | 6e 20 69 63 6f 6e 73 31 |plicatio|n icons1|
|000026b0| 46 69 67 75 72 65 20 37 | 2d 31 35 09 54 68 65 20 |Figure 7|-15.The |
|000026c0| 53 79 73 74 65 6d 20 46 | 6f 6c 64 65 72 20 61 6e |System F|older an|
|000026d0| 64 20 72 65 6c 61 74 65 | 64 20 66 6f 6c 64 65 72 |d relate|d folder|
|000026e0| 73 54 46 69 67 75 72 65 | 20 37 2d 31 36 09 53 74 |sTFigure| 7-16.St|
|000026f0| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 73 69 67 |ructure |of a sig|
|00002700| 6e 61 74 75 72 65 20 72 | 65 73 6f 75 72 63 65 20 |nature r|esource |
|00002710| 63 6f 6d 70 69 6c 65 64 | 20 61 73 20 61 20 73 74 |compiled| as a st|
|00002720| 72 69 6e 67 20 28 27 53 | 54 52 20 27 29 20 72 65 |ring ('S|TR ') re|
|00002730| 73 6f 75 72 63 65 3f 46 | 69 67 75 72 65 20 37 2d |source?F|igure 7-|
|00002740| 31 37 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |17.Struc|ture of |
|00002750| 61 20 63 6f 6d 70 69 6c | 65 64 20 69 63 6f 6e 20 |a compil|ed icon |
|00002760| 6c 69 73 74 20 28 27 49 | 43 4e 23 27 29 20 72 65 |list ('I|CN#') re|
|00002770| 73 6f 75 72 63 65 45 46 | 69 67 75 72 65 20 37 2d |sourceEF|igure 7-|
|00002780| 31 38 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |18.Struc|ture of |
|00002790| 61 20 63 6f 6d 70 69 6c | 65 64 20 73 6d 61 6c 6c |a compil|ed small|
|000027a0| 20 69 63 6f 6e 20 6c 69 | 73 74 20 28 27 69 63 73 | icon li|st ('ics|
|000027b0| 23 27 29 20 72 65 73 6f | 75 72 63 65 4c 46 69 67 |#') reso|urceLFig|
|000027c0| 75 72 65 20 37 2d 31 39 | 09 53 74 72 75 63 74 75 |ure 7-19|.Structu|
|000027d0| 72 65 20 6f 66 20 61 20 | 63 6f 6d 70 69 6c 65 64 |re of a |compiled|
|000027e0| 20 6c 61 72 67 65 20 34 | 2d 62 69 74 20 63 6f 6c | large 4|-bit col|
|000027f0| 6f 72 20 69 63 6f 6e 20 | 28 27 69 63 6c 34 27 29 |or icon |('icl4')|
|00002800| 20 72 65 73 6f 75 72 63 | 65 4c 46 69 67 75 72 65 | resourc|eLFigure|
|00002810| 20 37 2d 32 30 09 53 74 | 72 75 63 74 75 72 65 20 | 7-20.St|ructure |
|00002820| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 73 6d |of a com|piled sm|
|00002830| 61 6c 6c 20 34 2d 62 69 | 74 20 63 6f 6c 6f 72 20 |all 4-bi|t color |
|00002840| 69 63 6f 6e 20 28 27 69 | 63 73 34 27 29 20 72 65 |icon ('i|cs4') re|
|00002850| 73 6f 75 72 63 65 4c 46 | 69 67 75 72 65 20 37 2d |sourceLF|igure 7-|
|00002860| 32 31 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |21.Struc|ture of |
|00002870| 61 20 63 6f 6d 70 69 6c | 65 64 20 6c 61 72 67 65 |a compil|ed large|
|00002880| 20 38 2d 62 69 74 20 63 | 6f 6c 6f 72 20 69 63 6f | 8-bit c|olor ico|
|00002890| 6e 20 28 27 69 63 6c 38 | 27 29 20 72 65 73 6f 75 |n ('icl8|') resou|
|000028a0| 72 63 65 4c 46 69 67 75 | 72 65 20 37 2d 32 32 09 |rceLFigu|re 7-22.|
|000028b0| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 63 |Structur|e of a c|
|000028c0| 6f 6d 70 69 6c 65 64 20 | 73 6d 61 6c 6c 20 38 2d |ompiled |small 8-|
|000028d0| 62 69 74 20 63 6f 6c 6f | 72 20 69 63 6f 6e 20 28 |bit colo|r icon (|
|000028e0| 27 69 63 73 38 27 29 20 | 72 65 73 6f 75 72 63 65 |'ics8') |resource|
|000028f0| 3a 46 69 67 75 72 65 20 | 37 2d 32 33 09 53 74 72 |:Figure |7-23.Str|
|00002900| 75 63 74 75 72 65 20 6f | 66 20 61 20 63 6f 6d 70 |ucture o|f a comp|
|00002910| 69 6c 65 64 20 69 63 6f | 6e 20 28 27 49 43 4f 4e |iled ico|n ('ICON|
|00002920| 27 29 20 72 65 73 6f 75 | 72 63 65 44 46 69 67 75 |') resou|rceDFigu|
|00002930| 72 65 20 37 2d 32 34 09 | 53 74 72 75 63 74 75 72 |re 7-24.|Structur|
|00002940| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|00002950| 66 69 6c 65 20 72 65 66 | 65 72 65 6e 63 65 20 28 |file ref|erence (|
|00002960| 27 46 52 45 46 27 29 20 | 72 65 73 6f 75 72 63 65 |'FREF') |resource|
|00002970| 3c 46 69 67 75 72 65 20 | 37 2d 32 35 09 53 74 72 |<Figure |7-25.Str|
|00002980| 75 63 74 75 72 65 20 6f | 66 20 61 20 63 6f 6d 70 |ucture o|f a comp|
|00002990| 69 6c 65 64 20 62 75 6e | 64 6c 65 20 28 27 42 4e |iled bun|dle ('BN|
|000029a0| 44 4c 27 29 20 72 65 73 | 6f 75 72 63 65 4c 46 69 |DL') res|ourceLFi|
|000029b0| 67 75 72 65 20 37 2d 32 | 36 09 4d 61 70 70 69 6e |gure 7-2|6.Mappin|
|000029c0| 67 20 6c 6f 63 61 6c 20 | 49 44 73 20 74 6f 20 69 |g local |IDs to i|
|000029d0| 63 6f 6e 20 6c 69 73 74 | 20 72 65 73 6f 75 72 63 |con list| resourc|
|000029e0| 65 20 49 44 73 20 69 6e | 20 61 20 62 75 6e 64 6c |e IDs in| a bundl|
|000029f0| 65 20 72 65 73 6f 75 72 | 63 65 68 46 69 67 75 72 |e resour|cehFigur|
|00002a00| 65 20 37 2d 32 37 09 53 | 74 72 75 63 74 75 72 65 |e 7-27.S|tructure|
|00002a10| 20 6f 66 20 73 75 70 65 | 72 66 6c 75 6f 75 73 20 | of supe|rfluous |
|00002a20| 6c 6f 63 61 6c 20 49 44 | 20 6d 61 70 70 69 6e 67 |local ID| mapping|
|00002a30| 20 66 6f 72 20 66 69 6c | 65 20 72 65 66 65 72 65 | for fil|e refere|
|00002a40| 6e 63 65 20 72 65 73 6f | 75 72 63 65 73 20 69 6e |nce reso|urces in|
|00002a50| 20 61 20 0d 62 75 6e 64 | 6c 65 20 72 65 73 6f 75 | a .bund|le resou|
|00002a60| 72 63 65 4c 46 69 67 75 | 72 65 20 37 2d 32 38 09 |rceLFigu|re 7-28.|
|00002a70| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 63 |Structur|e of a c|
|00002a80| 6f 6d 70 69 6c 65 64 20 | 6d 69 73 73 69 6e 67 2d |ompiled |missing-|
|00002a90| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6e 61 6d 65 |applicat|ion name|
|00002aa0| 20 73 74 72 69 6e 67 20 | 72 65 73 6f 75 72 63 65 | string |resource|
|00002ab0| 4f 46 69 67 75 72 65 20 | 37 2d 32 39 09 53 74 72 |OFigure |7-29.Str|
|00002ac0| 75 63 74 75 72 65 20 6f | 66 20 61 20 63 6f 6d 70 |ucture o|f a comp|
|00002ad0| 69 6c 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |iled app|lication|
|00002ae0| 2d 6d 69 73 73 69 6e 67 | 20 6d 65 73 73 61 67 65 |-missing| message|
|00002af0| 20 73 74 72 69 6e 67 20 | 72 65 73 6f 75 72 63 65 | string |resource|
|00002b00| 3a 46 69 67 75 72 65 20 | 37 2d 33 30 09 46 6f 72 |:Figure |7-30.For|
|00002b10| 6d 61 74 20 6f 66 20 61 | 20 63 6f 6d 70 69 6c 65 |mat of a| compile|
|00002b20| 64 20 76 65 72 73 69 6f | 6e 20 28 27 76 65 72 73 |d versio|n ('vers|
|00002b30| 27 29 20 72 65 73 6f 75 | 72 63 65 |') resou|rce |
+--------+-------------------------+-------------------------+--------+--------+